/*
 * WeaponHelper.java
 *
 * Created on 28. April 2007, 19:37
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package de.tor.util.helpers;

import java.io.FileOutputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;

/**
 *
 * @author Charon
 */
public class WeaponHelper extends ExtensibleHelper implements Serializable{
    
    private String name = "";
    private String projectileGroup = "";
    
    /** Creates a new instance of WeaponHelper */
    public WeaponHelper() {
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getProjectileGroup() {
        return projectileGroup;
    }
    
    public void setProjectileGroup(String projectileGroup) {
        this.projectileGroup = projectileGroup;
    }

    public static void main(String[] args) {
     try{
        ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream("c:/test.ser"));
     WeaponHelper w = new WeaponHelper();
     w.addExtension("test", 1);
        out.writeObject(w);
     out.close();
     }catch(Exception e){
         e.printStackTrace();
     }
    }

}
